package edu.ucsb.cs56.W12.chatclient.model;

/**
 * Contact class represents a contact in the client's contact list
 * @author PengWang and Andro Stotts
 * @version 0.1
 */
public class Contact {
	private String name;
	
	/**
	 * default constructor
	 */
	public Contact(){
		name = "";
	}
	
	/**
	 * Constructor that takes user name
	 * @param name the user's name
	 */
	public Contact(String name){
		this.name = name;
	}
	
	/**
	 * set variable name
	 * @param name the user's name
	 */
	public void setName(String name){
		this.name = name;
	}
	
	/**
	 * get the value of name variable
	 * @return the user's name
	 */
	public String getName(){
		return name;
	}
}
